//
//  EditSelectedDishViewController.h
//  OrderSeat
//
//  Created by 王威 on 14-2-4.
//  Copyright (c) 2014年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SelectedDishCell.h"

@class EditSelectedDishDataSource;
@interface EditSelectedDishViewController : BaseViewController<SelectedDishCellDelegate>

@property (strong, nonatomic) EditSelectedDishDataSource *dataSource;
@property (strong, nonatomic) IBOutlet UITableView *selectedDishTable;
@property (strong, nonatomic) IBOutlet UIView *totalView;
@property (strong, nonatomic) IBOutlet UIButton *btnSubmit;
@property (strong, nonatomic) IBOutlet UIScrollView *theScrollview;
@property (strong, nonatomic) IBOutlet UILabel *totalMoneyLabel;
@property (strong, nonatomic) IBOutlet UILabel *totalCountLabel;

@property (strong, nonatomic) NSString *orderId;
@property (strong, nonatomic) NSMutableArray *selectedDishList;

@end


@interface EditSelectedDishDataSource : BaseDataSource<UITableViewDelegate,UITableViewDataSource>

@property (strong, nonatomic) EditSelectedDishViewController *viewController;
@property (assign, nonatomic) int seatState;

- (void)submitOrderWithURL:(NSString*)url;

@end
